package tset1;

public class Tsleep {
    public static void main(String[] args)  {
        Thread t=new Thread(()->{
            try {
                Thread.sleep(12000);
                System.out.println("运行线程...");
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        },"T1");
        System.out.println(t.getState());
        t.start();
    }
}
